//
//  main.m
//  oc_分数
//
//  Created by blue on 16/4/10.
//  Copyright (c) 2016年 zzn. All rights reserved.
//


#import "Fraction.h"
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        Fraction *f1 = [[Fraction alloc]initWithDenominator:5 andMolecular:4];
        [f1 printFraction];
        
        Fraction *f2 = [[Fraction alloc]initWithDenominator:3 andMolecular:2];
        
        [f1 addFraction:f2];
        [f1 printFraction];
        
    }
    return 0;
}
